<%@page import="com.kabao.oms.model.Cards"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html ng-app>
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <title></title>
    <link rel="stylesheet" href="http://pic.ofcard.com/sale-purchase/assets/css/style.css" />
    <!--页面主要样式文件-->
    <link rel="stylesheet" href="http://pic.ofcard.com/ofui-new/latest/css/category-icons.css" />
    <link type="text/css" href="http://pic.ofcard.com/saleNew/css/redmond/jquery-ui-1.8.21.custom.css" rel="stylesheet" />
    <link rel="stylesheet" href="http://pic.ofcard.com/ued-library/jQuery/plugins/jquery.qtip.custom/jquery.qtip.min.css"/>
    <link rel="stylesheet" href="http://pic.ofcard.com/sale-purchase/assets/css/public.css"/>
    <!-- <script type="text/javascript" src="static/kbbmjs/sea-debug.js"></script> -->
    <script type="text/javascript" src="http://pic.ofcard.com/themes/sales3.1/js-front/seajs/sea-debug.js"></script>
    <script type="text/javascript" src="<%=request.getContextPath() %>/static/angularjs/angular.min.js"></script>
    
    <style type="text/css">
        .valueSelection{
            width: auto;
        }
    </style>
    <script type="text/javascript">


	function PhoneListCtrl($scope, $http) {
	  $http.get('<%=request.getContextPath()%>/card/getOrder').success(function(data) {
	    $scope.student = data;
	  });
	}

</script>
</head>
<body ng-controller="PhoneListCtrl">
	<input type="button" ng-click="click" value="请求"></input>
	<div>
		<table>
		   <tr ng-repeat="subject in student">
		      <td>{{ subject.id }}</td>
		      <td>{{ subject.cardm }}</td>
		   </tr>
		</table>

    </div>
</body>
</html>